package service;

import entity.Users;

public interface IUserService {
    /**
     * 注册
     * @param uname
     * @param pwd
     * @return
     */
    public int register(String uname,String pwd);

    /**
     * 登录
     * @param uname
     * @param pwd
     * @return
     */
    public Users login(String uname, String pwd);

    /**
     * 找到id
     * @param name
     * @return
     */
    public Users getUid(String name);
}
